type Props = {
  a: string,
  b: number,
  c: boolean
}

type TypeA = Props['children' | 'name']

type TypeB = Props[keyof Props]